package logic.configuration;

import java.util.LinkedList;
import java.util.List;

public class MenuCommands {

	List<String> fileMenuCommands = new LinkedList<String>();
	List<String> editMenuCommands = new LinkedList<String>();
	
	public void addFileMenuCommand(String command) {
		fileMenuCommands.add(command);
	}
	
	public void addEditMenuCommand(String command) {
		editMenuCommands.add(command);
	}
	
	
	/**
	 * @return the fileMenuCommands
	 */
	public List<String> getFileMenuCommands() {
		return fileMenuCommands;
	}

	/**
	 * @return the editMenuCommands
	 */
	public List<String> getEditMenuCommands() {
		return editMenuCommands;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("MenuCommands [fileMenuCommands="); 
		for (String comm : fileMenuCommands) {
			sb.append(comm + " ");
		}
		sb.append(", editMenuCommands=");
		for (String comm : editMenuCommands) {
			sb.append(comm + " ");
		}
		return sb.toString();
	}
	

}
